package com.csun.cmny.provider.dao;

import com.csun.cmny.provider.model.domain.OmcHuaLongRoster;
import com.csun.cmny.provider.model.dto.hualong.HuaLongRosterItemDto;
import com.csun.cmny.provider.model.dto.hualong.HuaLongRosterQueryDto;
import com.csun.cmny.provider.model.vo.hualong.HuaLongRosterVo;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface OmcHuaLongRosterMapper extends Mapper<OmcHuaLongRoster> {

    /**
     * 主管排班列表
     *
     * @param huaLongRosterQueryDto the hua long roster query dto
     *
     * @return the list.
     */
    List<HuaLongRosterVo> queryListWithPage(HuaLongRosterQueryDto huaLongRosterQueryDto);

    /**
     * 查询班组详情
     *
     * @param id    the hua long roster id
     *
     * @return  the list.
     */
    List<HuaLongRosterItemDto> queryDetailById(Long id);

    /**
     * 根据Id删除排班
     *
     * @param id    the hua long roster id
     *
     * @return  the int.
     */
    Integer deleteById(Long id);
}